
<!--created by SBDEAM2004Creator Version0.5-->
<%@ include file="/publics/grid_head.inc"%>
<%@ include file="/publics/grid_datahead.inc"%>
<%@ include file="/wzmis/plan/business/gbusiness_change_part.inc"%>

<!--data-->
<div id="gridData" class="gridDiv">
<form action="<%=CONTEXTPATH%>/commonAction.do" method="post" name="frmAction">
<sbdhtc:datagrid id="datagrid" operationType="<%=operationType%>">
<table id="tblgrid" class="gridTbl">
<thead>
<tr>
	<td width="20" class="gridHead">No.</td>
<td <%=isNowrap%> class="gridHead" width=90 id="plan_change_part.dedevtype_code"><a href="#" id="sort_plan_change_part.dedevtype_code" onclick="return f_setSort('plan_change_part.dedevtype_code');" class="sortHref"><eam:message key="column.stock_change_part.plan_change_part.dedevtype_code"/></a></td><td <%=isNowrap%> class="gridHead" width=95 id="plan_change_part.material_code"><a href="#" id="sort_plan_change_part.material_code" onclick="return f_setSort('plan_change_part.material_code');" class="sortHref"><eam:message key="column.stock_change_part.plan_change_part.material_code"/></a></td><td <%=isNowrap%> class="gridHead" width=95 id="plan_change_part.material_name"><a href="#" id="sort_plan_change_part.material_name" onclick="return f_setSort('plan_change_part.material_name');" class="sortHref"><eam:message key="column.stock_change_part.plan_change_part.material_name"/></a></td><td <%=isNowrap%> class="gridHead" width=145 id="plan_change_part.material_standard"><a href="#" id="sort_plan_change_part.material_standard" onclick="return f_setSort('plan_change_part.material_standard');" class="sortHref"><eam:message key="column.stock_change_part.plan_change_part.material_standard"/></a></td><td <%=isNowrap%> class="gridHead" width=145 id="plan_change_part.material_style"><a href="#" id="sort_plan_change_part.material_style" onclick="return f_setSort('plan_change_part.material_style');" class="sortHref"><eam:message key="column.stock_change_part.plan_change_part.material_style"/></a></td><td <%=isNowrap%> class="gridHead" width=70 id="plan_change_part.material_unit"><a href="#" id="sort_plan_change_part.material_unit" onclick="return f_setSort('plan_change_part.material_unit');" class="sortHref"><eam:message key="column.stock_change_part.plan_change_part.material_unit"/></a></td><td <%=isNowrap%> class="gridHead" width=95 id="plan_change_part.contain_num"><a href="#" id="sort_plan_change_part.contain_num" onclick="return f_setSort('plan_change_part.contain_num');" class="sortHref"><eam:message key="column.stock_change_part.plan_change_part.contain_num"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="plan_change_part.tatol_num"><a href="#" id="sort_plan_change_part.tatol_num" onclick="return f_setSort('plan_change_part.tatol_num');" class="sortHref"><eam:message key="column.stock_change_part.plan_change_part.tatol_num"/></a></td><td <%=isNowrap%> class="gridHead" width=95 id="plan_change_part.main_materialcode"><a href="#" id="sort_plan_change_part.main_materialcode" onclick="return f_setSort('plan_change_part.main_materialcode');" class="sortHref"><eam:message key="column.stock_change_part.plan_change_part.main_materialcode"/></a></td>
</tr>
</thead>
<tbody>
<%String strDdlb = "";String sbddesc="";%>
<eam:iterateResult>
<tr style="display:<%=PageUtilMethod.getValueByMap("visible", rowMap)%>" id="<%=PageUtilMethod.getValueByMap("plan_change_part.part_id", rowMap)%>" class="gridData" <%=PageUtilMethod.getValueByMap("rowEvent", rowMap)%>>
	<td align="center" class="gridHead">
	<%=PageUtilMethod.getValueByMap("indexNO", rowMap)%>
	<input type="hidden" value="" name="keyID">
	</td>
<td <%=isNowrap%> align="left" id="plan_change_part.dedevtype_code" width=90><%strDdlb = "ddlb.dedevicetype." + PageUtilMethod.getValueByMap("plan_change_part.dedevtype_code", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td><td <%=isNowrap%> align="left" id="plan_change_part.material_code" width=95><%=PageUtilMethod.getValueByMap("plan_change_part.material_code", rowMap)%></td><td <%=isNowrap%> align="left" id="plan_change_part.material_name" width=95><%=PageUtilMethod.getValueByMap("plan_change_part.material_name", rowMap)%></td><td <%=isNowrap%> align="left" id="plan_change_part.material_standard" width=145><%=PageUtilMethod.getValueByMap("plan_change_part.material_standard", rowMap)%></td><td <%=isNowrap%> align="left" id="plan_change_part.material_style" width=145><%=PageUtilMethod.getValueByMap("plan_change_part.material_style", rowMap)%></td><td <%=isNowrap%> align="left" id="plan_change_part.material_unit" width=70><%=PageUtilMethod.getValueByMap("plan_change_part.material_unit", rowMap)%></td>


<!--modify by panwh-->
<td <%=isNowrap%> align="right" id="plan_change_part.contain_num" width=85><input type="text"  name="data_plan_change_part.contain_num"  collen="9" size="14" onblur="gc_valid.isValidData(this);" format="number" style="text-align:right" value="<%=PageUtilMethod.getValueByMap("plan_change_part.contain_num", rowMap)%>"></td>
<!--modify by panwh-->


<td <%=isNowrap%> align="right" id="plan_change_part.tatol_num" width=80><%=PageUtilMethod.getValueByMap("plan_change_part.tatol_num", rowMap)%></td><td <%=isNowrap%> align="left" id="plan_change_part.main_materialcode" width=95><%=PageUtilMethod.getValueByMap("plan_change_part.main_materialcode", rowMap)%></td><td style="display:none" id="plan_change_part.material_id"><%=PageUtilMethod.getValueByMap("plan_change_part.material_id", rowMap)%></td><td style="display:none" id="plan_change_part.change_id"><%=PageUtilMethod.getValueByMap("plan_change_part.change_id", rowMap)%></td><td style="display:none" id="plan_change_part.main_materialid"><%=PageUtilMethod.getValueByMap("plan_change_part.main_materialid", rowMap)%></td>

<!--modify by panwh-->
<td style="display:none" id="plan_change_part.part_id"><input type="text" readonly name="data_plan_change_part.part_id"  format="text" style="text-align:left" value="<%=PageUtilMethod.getValueByMap("plan_change_part.part_id", rowMap)%>"></td>
<!--modify by panwh-->

</tr>
</eam:iterateResult>
</tbody>
<tfoot>
<eam:TotalResult />
<tr id="total" class="gridFoot" style="display:<%=visible%>">
	<td align="center"><eam:message key="grid.text.sum"/><input type="hidden" value="" name="keyID"></td>
<td align="left" id="total_dedevtype_code"><%=PageUtilMethod.getValueByMap("total_dedevtype_code" ,totalMap)%></td><td align="left" id="total_material_code"><%=PageUtilMethod.getValueByMap("total_material_code" ,totalMap)%></td><td align="left" id="total_material_name"><%=PageUtilMethod.getValueByMap("total_material_name" ,totalMap)%></td><td align="left" id="total_material_standard"><%=PageUtilMethod.getValueByMap("total_material_standard" ,totalMap)%></td><td align="left" id="total_material_style"><%=PageUtilMethod.getValueByMap("total_material_style" ,totalMap)%></td><td align="left" id="total_material_unit"><%=PageUtilMethod.getValueByMap("total_material_unit" ,totalMap)%></td><td align="right" id="total_contain_num"><%=PageUtilMethod.getValueByMap("total_contain_num" ,totalMap)%></td><td align="right" id="total_tatol_num"><%=PageUtilMethod.getValueByMap("total_tatol_num" ,totalMap)%></td><td align="left" id="total_main_materialcode"><%=PageUtilMethod.getValueByMap("total_main_materialcode" ,totalMap)%></td>
</tr>
</tfoot>
</table>
</sbdhtc:datagrid>
<%@ include file="/publics/grid_formhidden.inc"%>
</form>
</div>
<!--data-->
<%@ include file="/publics/grid_databottom.inc"%>
<%@ include file="/publics/grid_bottom.inc"%>
